package demo5;

public class test {
    public static void main(String[] args) throws CloneNotSupportedException {
        Student student1 = new Student("zhangsan", 85);
        Student student2 = (Student) student1.clone();
        System.out.println(student1.toString());
        System.out.println(student2.toString());
    }
}
